home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / sendmail / sendmail-5.65c+IDA-1.4.4.1 / RCS / ChangeLog,v next >
Encoding:
Text File  |  1991-08-14  |  28.6 KB  |  940 lines

  1. head    1.4;
  2. branch    1.4.4;
  3. access;
  4. symbols;
  5. locks
  6.     paul:1.4.4.4; strict;
  7. comment    @# @;
  8.  
  9.  
  10. 1.4
  11. date    90.12.13.14.37.18;    author paul;    state Exp;
  12. branches
  13.     1.4.2.1
  14.     1.4.3.1
  15.     1.4.4.1;
  16. next    ;
  17.  
  18. 1.4.2.1
  19. date    90.12.13.14.38.15;    author paul;    state Exp;
  20. branches;
  21. next    1.4.2.2;
  22.  
  23. 1.4.2.2
  24. date    90.12.18.13.07.47;    author paul;    state Exp;
  25. branches;
  26. next    1.4.2.3;
  27.  
  28. 1.4.2.3
  29. date    90.12.24.07.01.09;    author paul;    state Exp;
  30. branches;
  31. next    1.4.2.4;
  32.  
  33. 1.4.2.4
  34. date    91.01.02.19.49.53;    author paul;    state Exp;
  35. branches;
  36. next    1.4.2.5;
  37.  
  38. 1.4.2.5
  39. date    91.01.26.21.11.15;    author paul;    state Exp;
  40. branches;
  41. next    1.4.2.6;
  42.  
  43. 1.4.2.6
  44. date    91.02.01.05.05.27;    author paul;    state Exp;
  45. branches;
  46. next    1.4.2.7;
  47.  
  48. 1.4.2.7
  49. date    91.02.15.20.28.21;    author paul;    state Exp;
  50. branches;
  51. next    1.4.2.8;
  52.  
  53. 1.4.2.8
  54. date    91.03.08.18.45.12;    author paul;    state Exp;
  55. branches;
  56. next    ;
  57.  
  58. 1.4.3.1
  59. date    91.03.19.01.53.41;    author paul;    state Exp;
  60. branches;
  61. next    1.4.3.2;
  62.  
  63. 1.4.3.2
  64. date    91.03.19.01.55.27;    author paul;    state Exp;
  65. branches;
  66. next    1.4.3.3;
  67.  
  68. 1.4.3.3
  69. date    91.03.25.16.40.41;    author paul;    state Exp;
  70. branches;
  71. next    1.4.3.4;
  72.  
  73. 1.4.3.4
  74. date    91.03.26.18.37.31;    author paul;    state Exp;
  75. branches;
  76. next    1.4.3.5;
  77.  
  78. 1.4.3.5
  79. date    91.04.02.23.28.57;    author paul;    state Exp;
  80. branches;
  81. next    1.4.3.6;
  82.  
  83. 1.4.3.6
  84. date    91.04.02.23.33.07;    author paul;    state Exp;
  85. branches;
  86. next    1.4.3.7;
  87.  
  88. 1.4.3.7
  89. date    91.04.11.15.18.54;    author paul;    state Exp;
  90. branches;
  91. next    1.4.3.8;
  92.  
  93. 1.4.3.8
  94. date    91.04.17.18.37.45;    author paul;    state Exp;
  95. branches;
  96. next    ;
  97.  
  98. 1.4.4.1
  99. date    91.06.25.23.39.31;    author paul;    state Exp;
  100. branches;
  101. next    1.4.4.2;
  102.  
  103. 1.4.4.2
  104. date    91.08.14.18.06.05;    author paul;    state Exp;
  105. branches;
  106. next    1.4.4.3;
  107.  
  108. 1.4.4.3
  109. date    91.08.14.18.07.48;    author paul;    state Exp;
  110. branches;
  111. next    1.4.4.4;
  112.  
  113. 1.4.4.4
  114. date    91.08.14.18.08.56;    author paul;    state Exp;
  115. branches;
  116. next    ;
  117.  
  118.  
  119. desc
  120. @Change tracking file.
  121. @
  122.  
  123.  
  124.  
  125. 1.4
  126. log
  127. @Baseline
  128. @
  129. text
  130. @$Log$
  131.  
  132.     Changes in 5.65/1.4.1 from the previous release:
  133.  
  134. Minimal features have been added.  Greater portability is the goal.
  135.  
  136. Tested now on Next, SGI-IRIS (IRIX 3.3.1), HP-Apollo (10.3).
  137.  
  138. Loops in myhostname() if NAMED_BIND #define'd and all nameservers are
  139. unreachable.  Not needed if hostname returns the FQDN.
  140.  
  141. Fixed randomization of equal weighted MX records.
  142.  
  143. Change auto variables in tTflag() to unsigned int.  This closes a nasty
  144. security hole.
  145.  
  146. Gutted load averaging mess from conf.c and replaced with getloadavg.c from
  147. the X11R4 distribution.  The calculated load average can be printed using
  148. the -d3.1 debug flag.
  149.  
  150. deliver() now configured to release non-inheritable flock() (emulated with
  151. lockf()) before fork() and to re-flock() in child.  The #include <file.h>
  152. for testing whether to emulate flock() has been moved from the various *.c
  153. files to sendmail.h.
  154.  
  155. Re-named #define SYSTEM5 to #define SYSV.
  156.  
  157. Isolated code in recipient.c that does fuzzy-matching of recipient names.
  158. Now disabled by default.  See FUZZY in conf.h
  159.  
  160. All tokens following #else and #endif statements are now in comments.  This
  161. appeases the more discerning pre-processors.
  162.  
  163. Now compiles and runs with gcc (tested w. 1.37.1 on Sequent, VAX, Pyramid,
  164. then I got tired).  No longer needs -pcc flag on Convex.
  165.  
  166. Deleted OUTPUT_PID in conf.h.  The sendmail.fc freeze file code is now
  167. included only if _PATH_SENDMAILFC is defined in conf.h (see next).
  168.  
  169. Because the definition (or lack) of the _PATH_SENDMAIL* #define's now 
  170. controls whether certain code is compiled, the contents of pathnames.h
  171. has been absorbed into conf.h .  This localizes site-specific customizations
  172. to conf.h and the Makefile.
  173.  
  174. Simplified locking in mapinit().  Now only the alias file is opened O_RDWR
  175. when OpMode == MD_INITALIAS.  All others are O_RDONLY.  The same situation
  176. for flock(): LOCK_SH unless re-writing the alias database.  Anything
  177. re-writing a DBM database should be using exclusive locks which will block
  178. a LOCK_SH request.  This provides better support for NFS-mounted, read-only
  179. filesystems containing the mail database files.
  180.  
  181. ida/aux/dbm.c now pays attention to the return value of flock().  The fetch
  182. and dump operations apply shared locks, all others apply exclusive locks.
  183.  
  184. binmail sources can now be compiled to use ..../mail/username.lock style
  185. locking.  Handy for systems that NFS mount the mail spool area.  Whatever
  186. style you use, make sure all the players agree or BAD THINGS may happen.
  187.  
  188. The values of the $r and $q macros are now saved in the queue files.
  189.  
  190. Neil Rickert has again improved ida/cf/Sendmail.mc.  Among other things he's
  191. eliminated the need for using newaliases.cf when forward aliases are used.
  192. Re-write all current aliases that are of the form
  193.  
  194.     user@@host.domain:    something
  195.  
  196. to
  197.  
  198.     user%host.domain@@al.ias.UUCP:    something
  199.  
  200. and add the following to mailertable:
  201.  
  202.     LOCAL!localhost        al.ias.UUCP
  203.  
  204.  
  205.     Changes in 5.65/1.3.5 from the previous release:
  206.  
  207. Sat Oct 13 23:01:07 CDT 1990
  208.  
  209. Installed changes to main.c, savemail.c and version.c from Berkeley V5.64
  210. to V5.65.
  211.  
  212. Added mdbm and gdbm support.  Rationalized #ifdef's for *DBM.  gdbm
  213. can be fetched either from uxc.cso.uiuc.edu in the gnu directory or
  214. from aeneas.mit.edu in pub/gnu.
  215.  
  216. getloadavg.c was absorbed back into conf.c since few architectures used
  217. it.  It's been made part of the #ifdef context that uses it.
  218.  
  219. flock() emulation (provided by Andy Litton of Victoria University of
  220. Wellington, NZ) via lockf() now done more transparently.  All files
  221. to be exclusively locked are now open "r+" (read/write).  Many systems
  222. that provide flock() use lockf() semantics.  These require files to be
  223. opened for writing to obtain exclusive locks.
  224.  
  225. Bruce Lilly (bruce%balilly@@sonyd1.broadcast.sony.com) provided unixpc and
  226. many System 5 changes selected via #define SYSTEM5 in conf.h.  These have
  227. been very helpful for HP-UX.  He also contributed varargs versions of
  228. many routines (see err.c and conf.c) selected via #define VSPRINTF in
  229. conf.h and many sundry glitch fixes (extraneous newlines in syslog() and
  230. putline() calls, errors in comments, etc).  Thank you Bruce.
  231.  
  232. A potentially serious bug was scattered throughout the code.  The third
  233. argument to expand() in macro.c is the buffer limit, i.e., the address
  234. of the last usable position in buf.  In many cases this was expressed as
  235. expand(str, buf, buf[sizeof buf], s) which is the address just beyond the
  236. end of the array.  These were all changed to use buf[sizeof buf - 1].
  237.  
  238.     Changes in 5.64/1.3.5 from the previous release:
  239.  
  240. Tue Sep 25 20:49:54 CDT 1990
  241.  
  242. Now supports the mail11v3 mailer for DECnet sites.  Requires that MAIL11V3
  243. be defined in src/conf.h.  This enables two new mailer flags N and H that
  244. correspond to the non-standard SMTP extensions HEAD and MULT necessary for
  245. communicating with mail11v3.  To create a DECnet/Internet gateway, define
  246. your DECnet nodename in the appropriate ida/cf/*m4 file using the m4 define
  247. DECNETNAME.  Examine the Sendmail.mc file and enable the .span and .hepnet
  248. entries if appropriate.
  249.  
  250. Address test mode now uses '\0' rather than ',' as the ruleset delimiter.
  251. This makes testing of the comma'ized addresses used in sendmail.cf possible.
  252.  
  253. deliver() now omits calling getmxrr() for non-IPC mailers as well as for
  254. domain literals.
  255.  
  256. MX records are now always looked for.  The difference is that where there
  257. is a concern about wildcard MX records, addresses are not qualified in the
  258. local domain.  See deliver() and getmxrr() regarding NO_WILDCARD_MX.
  259.  
  260. Thanks to Neil Rickert of Northern Illinois University (rickert@@cs.niu.edu)
  261. for the mail11v3 sender ruleset (S14) plus other fixes.  Mark D. Baushke of
  262. 3Com Corp (mdb@@esd.3com.com) battle-tested Neil's changes to deliver() and
  263. getmxrr().
  264.  
  265. paul-pomes@@uiuc.edu,
  266. @
  267.  
  268.  
  269. 1.4.4.1
  270. log
  271. @Released as 5.65c+1.4.4.
  272.  
  273. A little behind on my updating of this file - oh well.  This is
  274. taken from the ANNOUNCE file.
  275.  
  276. Installation has been simplified by the creation of a src/config
  277. directory.  Files in this directory are named for the operating
  278. systems that the IDA sendmail has been installed on. They contain
  279. the OS specific compilation definitions.
  280.  
  281. A new macro, $m, has been defined.  For single recipients in
  282. a local mail delivery, it's value is the original address before
  283. aliasing.  If all recipients for the current transaction derive
  284. from a single original recipient, use that for $m.  Else make
  285. $m undefined (to preserve Bcc: privacy).
  286.  
  287. Rationalized reapchild() based on whether LACK_WAIT3 is defined.
  288.  
  289. Replaced time_t declarations with TIME_TYPE define.
  290.  
  291. Changes for Interactive Systems UNIX adapted from patches
  292. sent by Andy Linton <Andy.Linton@@comp.vuw.ac.nz>.
  293.  
  294. If Os (SuperSafe) is set in the sendmail.cf file, files in the spool
  295. area will either be open()ed with O_SYNC set or fsync()ed prior
  296. to close.
  297.  
  298. Received: lines will now show "givenname (realhostname)" if the
  299. hostname supplied in the SMTP HELO command differs from what is
  300. returned by getpeername().
  301.  
  302. Robert A. Larson's (blarson@@skat.usc.edu) portable vprintf() package
  303. has drastically simplified the #ifdef mess in err.c.  ANSI compilers
  304. now use stdarg.h, others now use varargs.h.
  305.  
  306. Keld Simonsen (keld@@dkuug.dk) contributed his character set
  307. conversion code that handles 90+ character sets.  Sendmail can
  308. now send 8-bit messages between sites defined in mailertable.
  309.  
  310. RS/6000 AIX systems can now use frozen config files.
  311.  
  312. Bruce Lilly (bruce@@broadcast.sony.com) contributed several items:
  313. arpatounix() that converts RFC-822/1123 date-time fields to UNIX
  314.     ctime format and changes to use 4 digit years
  315. updates to the doc/07.sendmailop/op.me document
  316. additional System 5 portability changes
  317. simplified collect()
  318. case-sensitive (as well as -insensitive) database and passwd
  319.     file lookups.
  320. straightened out usage of DAEMON and VMUNIX for selecting
  321.     sendmail features.
  322. maphostname() now uses uname() if available and all else fails
  323. deleted ON (NetName) option.
  324.  
  325. Eric Wassenaar (e07@@nikhefh.nikhef.nl) posted fixes for
  326.     handling of multi-line .forward files.
  327.     a bug that referenced the wrong envelope.
  328.  
  329. Apollos now use proc1_$get_loadav() which greatly simplified the
  330. routine.  The previous code is wrapped in #ifdef notdef if needed.
  331. From Chrisos S.  Zoulas (christos@@ee.cornell.edu).
  332.  
  333. Simon J Gerraty (sjg@@melb.bull.oz.au) contributed patch for SUN's
  334. $%x and $!x features ($!x added as $^x).
  335. @
  336. text
  337. @d1 136
  338. a136 116
  339. $Log: ChangeLog,v $
  340. # Revision 1.4.3.8  1991/04/17  18:37:45  paul
  341. # src/{Makefile,conf.h} modified to lift the restriction against frozen
  342. # config files (sendmail.fc) under AIX.  Inspiration came from Paul
  343. # Amaranth's (amaranth@@vela.acs.oakland.edu) posting in comp.unix.aix
  344. # about linker tricks.
  345. #
  346. # Revision 1.4.3.7  1991/04/11  15:18:54  paul
  347. # Modified queue.c and main.c:
  348. # Added new relatives of -q command line flag:  -Sfoo runs only those
  349. # queued messages with "foo" in the sender string, -Rfoo runs only those
  350. # that have foo in the recipient string, and -MAA07305 runs only the
  351. # message with the ID AA07305.  From patches adapted from Peter J Nilsson
  352. # (pjn@@ida.liu.se).
  353. #
  354. # Revision 1.4.3.6  1991/04/02  23:33:07  paul
  355. # Added load averaging code for AIX contributed by Charlie Kline of CSO.
  356. #
  357. # Revision 1.4.3.5  1991/04/02  23:28:57  paul
  358. # Some source files included <signal.h> instead of <sys/signal.h>.  This
  359. # makes a difference on some machines.
  360. #
  361. # Now uses <stdarg.h> instead of <varargs.h> when both __STDC__ && VSPRINTF
  362. # are true.
  363. #
  364. # In main.c, the envirionment is now copied after a successful thaw() and/or
  365. # if SETPROCTITLE is true.
  366. #
  367. # Revision 1.4.3.4  1991/03/26  18:37:31  paul
  368. # Removed UserEnviron[] from sendmail.h and made it a local variable in
  369. # main.c.  Used only when a thaw() fails or isn't done when
  370. # #if defined(SETPROCTITLE) && !defined(SYSV).  openmailer() in deliver.c
  371. # now uses environ instead of UserEnviron as main() will make sure it's
  372. # valid.
  373. #
  374. # Revision 1.4.3.3  1991/03/25  16:40:41  paul
  375. # Removed NO_WILDCARD_MX option from conf.h.  This option gets many sites
  376. # into trouble for a minor performance gain.
  377. #
  378. # Changed getmxrr() to use $=w (class of local names) instead of $j
  379. # (the Fully Qualified Domain Name (FQDN) of the localhost).  Changed
  380. # getcanonname() to use $=j (class of names to treat as local) instead
  381. # $j.
  382. #
  383. # Revision 1.4.3.2  1991/03/19  01:55:27  paul
  384. # logdelivery() now records mailer in syslog entries.
  385. #
  386. # readcf() now expands macros in 'C' class definitions.
  387. #
  388. # LOGSPLIT reduced to 128 on HP-UX systems.
  389. # help() now uses newstr()/free() to avoid problems with constant strings.
  390. #
  391. # Revision 1.4.3.1  1991/03/19  01:53:41  paul
  392. # Released as 5.65b+IDA-1.4.3
  393. #
  394. # Revision 1.4.2.8  1991/03/08  18:45:12  paul
  395. # All external function definitions moved to a new file def.h.  For ANSI
  396. # C compilers, function prototypes are included.
  397. #
  398. # Encore getloadavg() routine rolled into getloadavg.c.
  399. #
  400. # Paul Vixie's long header line fix included.
  401. #
  402. # Revision 1.4.2.7  1991/02/15  20:28:21  paul
  403. # deliver.c: Fixed setupshares() function declarator.  Fixed test of j
  404. # that controls whether message about contacting non-primary MX host
  405. # is printed.
  406. #
  407. # recipient.c, alias.c: POSIX bulletproofing.
  408. #
  409. # main.c: fixed determination of end of envp array when frozen config
  410. # file isn't used.
  411. #
  412. # err.c: cast some more functions w.o. return values to void.
  413. #
  414. # Revision 1.4.2.6  1991/02/01  05:05:27  paul
  415. # queue.c and collect.c now have fsync() calls prior to the fclose() of the
  416. # df* and cf* files.  This for added robustness on flaky systems (such as
  417. # uxc after the reno upgrade).  Check added to headers.c to delete the From:
  418. # line only when the sender is local.
  419. #
  420. # Revision 1.4.2.5  1991/01/26  21:11:15  paul
  421. # Added fsync() calls to queue.c and collect.c to flush the collected
  422. # df* and qf* files to disk once they are complete.
  423. #
  424. # Added changes to uiuc/phquery.c to cope with the changed location of
  425. # sendmail under 4.4 BSD (/usr/sbin/sendmail) to handle a backup QI
  426. # server (QI_ALT in uiuc/Makefile).
  427. #
  428. # Revision 1.4.2.4  91/01/02  19:49:53  paul
  429. # Updated logdelivery() with version that folds, rather than truncating,
  430. # long syslog() entries.  Updated ida/lib with current UIUC files, added
  431. # documentation to mailertable file.
  432. # Revision 1.4.2.3  90/12/24  07:01:09  paul
  433. # File: main.c
  434. # Only reset the environment after a successful thaw.  Previously the
  435. # environment was always reset which used a lot of newstr() calls and
  436. # inflated the size of sendmail.fc.  Found by Piet Beertema (piet@@mcsun.eu.net).
  437. # File: readcf.c
  438. # Streamlined the reading of class members from files & pipes.  Files may
  439. # use the sscanf() convention now w.o. #define'ing SCANF.  From a suggestion
  440. # from Piet Beertema (piet@@mcsun.eu.net).
  441. # Revision 1.4.2.2  90/12/18  13:07:47  paul
  442. # Reset NIS state before freeze() or thaw() of config file (main.c).
  443. # Fix S14 to re-write Decnet addresses in host2::host1::user format
  444. # (Sendmail.mc).
  445. # Revision 1.4.2.1  90/12/13  14:38:15  paul
  446. # Sub-baseline
  447. # Revision 1.4  90/12/13  14:37:18  paul
  448. # Baseline
  449. @
  450.  
  451.  
  452. 1.4.4.2
  453. log
  454. @Fixed wrapper around a dbminit() call in alias.c to use OTHERDBM instead
  455. of SDBM.  Finally nailed problem in daemon.c with truncating the newline
  456. from strings returned by yp_match().
  457. @
  458. text
  459. @a1 66
  460. # Revision 1.4.4.1  1991/06/25  23:39:31  paul
  461. # Released as 5.65c+1.4.4.
  462. #
  463. # A little behind on my updating of this file - oh well.  This is
  464. # taken from the ANNOUNCE file.
  465. #
  466. # Installation has been simplified by the creation of a src/config
  467. # directory.  Files in this directory are named for the operating
  468. # systems that the IDA sendmail has been installed on. They contain
  469. # the OS specific compilation definitions.
  470. #
  471. # A new macro, $m, has been defined.  For single recipients in
  472. # a local mail delivery, it's value is the original address before
  473. # aliasing.  If all recipients for the current transaction derive
  474. # from a single original recipient, use that for $m.  Else make
  475. # $m undefined (to preserve Bcc: privacy).
  476. #
  477. # Rationalized reapchild() based on whether LACK_WAIT3 is defined.
  478. #
  479. # Replaced time_t declarations with TIME_TYPE define.
  480. #
  481. # Changes for Interactive Systems UNIX adapted from patches
  482. # sent by Andy Linton <Andy.Linton@@comp.vuw.ac.nz>.
  483. #
  484. # If Os (SuperSafe) is set in the sendmail.cf file, files in the spool
  485. # area will either be open()ed with O_SYNC set or fsync()ed prior
  486. # to close.
  487. #
  488. # Received: lines will now show "givenname (realhostname)" if the
  489. # hostname supplied in the SMTP HELO command differs from what is
  490. # returned by getpeername().
  491. #
  492. # Robert A. Larson's (blarson@@skat.usc.edu) portable vprintf() package
  493. # has drastically simplified the #ifdef mess in err.c.  ANSI compilers
  494. # now use stdarg.h, others now use varargs.h.
  495. #
  496. # Keld Simonsen (keld@@dkuug.dk) contributed his character set
  497. # conversion code that handles 90+ character sets.  Sendmail can
  498. # now send 8-bit messages between sites defined in mailertable.
  499. #
  500. # RS/6000 AIX systems can now use frozen config files.
  501. #
  502. # Bruce Lilly (bruce@@broadcast.sony.com) contributed several items:
  503. # arpatounix() that converts RFC-822/1123 date-time fields to UNIX
  504. #     ctime format and changes to use 4 digit years
  505. # updates to the doc/07.sendmailop/op.me document
  506. # additional System 5 portability changes
  507. # simplified collect()
  508. # case-sensitive (as well as -insensitive) database and passwd
  509. #     file lookups.
  510. # straightened out usage of DAEMON and VMUNIX for selecting
  511. #     sendmail features.
  512. # maphostname() now uses uname() if available and all else fails
  513. # deleted ON (NetName) option.
  514. #
  515. # Eric Wassenaar (e07@@nikhefh.nikhef.nl) posted fixes for
  516. #     handling of multi-line .forward files.
  517. #     a bug that referenced the wrong envelope.
  518. #
  519. # Apollos now use proc1_$get_loadav() which greatly simplified the
  520. # routine.  The previous code is wrapped in #ifdef notdef if needed.
  521. # From Chrisos S.  Zoulas (christos@@ee.cornell.edu).
  522. #
  523. # Simon J Gerraty (sjg@@melb.bull.oz.au) contributed patch for SUN's
  524. # $%x and $!x features ($!x added as $^x).
  525. #
  526. @
  527.  
  528.  
  529. 1.4.4.3
  530. log
  531. @Replaced logdelivery() routine with a bew version from Andy Linton.
  532. This version copes with various restrictions on syslog() buffer sizes
  533. and the number of printf() type arguments.
  534. @
  535. text
  536. @a1 5
  537. # Revision 1.4.4.2  1991/08/14  18:06:05  paul
  538. # Fixed wrapper around a dbminit() call in alias.c to use OTHERDBM instead
  539. # of SDBM.  Finally nailed problem in daemon.c with truncating the newline
  540. # from strings returned by yp_match().
  541. #
  542. @
  543.  
  544.  
  545. 1.4.4.4
  546. log
  547. @Added support for the Berkeley hashing package (hash.tar.Z and libhash.a).
  548. @
  549. text
  550. @a1 5
  551. # Revision 1.4.4.3  1991/08/14  18:07:48  paul
  552. # Replaced logdelivery() routine with a bew version from Andy Linton.
  553. # This version copes with various restrictions on syslog() buffer sizes
  554. # and the number of printf() type arguments.
  555. #
  556. @
  557.  
  558.  
  559. 1.4.3.1
  560. log
  561. @Released as 5.65b+IDA-1.4.3
  562. @
  563. text
  564. @d1 1
  565. a1 62
  566. $Log: ChangeLog,v $
  567. # Revision 1.4.2.8  1991/03/08  18:45:12  paul
  568. # All external function definitions moved to a new file def.h.  For ANSI
  569. # C compilers, function prototypes are included.
  570. #
  571. # Encore getloadavg() routine rolled into getloadavg.c.
  572. #
  573. # Paul Vixie's long header line fix included.
  574. #
  575. # Revision 1.4.2.7  1991/02/15  20:28:21  paul
  576. # deliver.c: Fixed setupshares() function declarator.  Fixed test of j
  577. # that controls whether message about contacting non-primary MX host
  578. # is printed.
  579. #
  580. # recipient.c, alias.c: POSIX bulletproofing.
  581. #
  582. # main.c: fixed determination of end of envp array when frozen config
  583. # file isn't used.
  584. #
  585. # err.c: cast some more functions w.o. return values to void.
  586. #
  587. # Revision 1.4.2.6  1991/02/01  05:05:27  paul
  588. # queue.c and collect.c now have fsync() calls prior to the fclose() of the
  589. # df* and cf* files.  This for added robustness on flaky systems (such as
  590. # uxc after the reno upgrade).  Check added to headers.c to delete the From:
  591. # line only when the sender is local.
  592. #
  593. # Revision 1.4.2.5  1991/01/26  21:11:15  paul
  594. # Added fsync() calls to queue.c and collect.c to flush the collected
  595. # df* and qf* files to disk once they are complete.
  596. #
  597. # Added changes to uiuc/phquery.c to cope with the changed location of
  598. # sendmail under 4.4 BSD (/usr/sbin/sendmail) to handle a backup QI
  599. # server (QI_ALT in uiuc/Makefile).
  600. #
  601. # Revision 1.4.2.4  91/01/02  19:49:53  paul
  602. # Updated logdelivery() with version that folds, rather than truncating,
  603. # long syslog() entries.  Updated ida/lib with current UIUC files, added
  604. # documentation to mailertable file.
  605. # Revision 1.4.2.3  90/12/24  07:01:09  paul
  606. # File: main.c
  607. # Only reset the environment after a successful thaw.  Previously the
  608. # environment was always reset which used a lot of newstr() calls and
  609. # inflated the size of sendmail.fc.  Found by Piet Beertema (piet@@mcsun.eu.net).
  610. # File: readcf.c
  611. # Streamlined the reading of class members from files & pipes.  Files may
  612. # use the sscanf() convention now w.o. #define'ing SCANF.  From a suggestion
  613. # from Piet Beertema (piet@@mcsun.eu.net).
  614. # Revision 1.4.2.2  90/12/18  13:07:47  paul
  615. # Reset NIS state before freeze() or thaw() of config file (main.c).
  616. # Fix S14 to re-write Decnet addresses in host2::host1::user format
  617. # (Sendmail.mc).
  618. # Revision 1.4.2.1  90/12/13  14:38:15  paul
  619. # Sub-baseline
  620. # Revision 1.4  90/12/13  14:37:18  paul
  621. # Baseline
  622. @
  623.  
  624.  
  625. 1.4.3.2
  626. log
  627. @logdelivery() now records mailer in syslog entries.
  628.  
  629. readcf() now expands macros in 'C' class definitions.
  630.  
  631. LOGSPLIT reduced to 128 on HP-UX systems.
  632. help() now uses newstr()/free() to avoid problems with constant strings.
  633. @
  634. text
  635. @a1 3
  636. # Revision 1.4.3.1  1991/03/19  01:53:41  paul
  637. # Released as 5.65b+IDA-1.4.3
  638. #
  639. @
  640.  
  641.  
  642. 1.4.3.3
  643. log
  644. @Removed NO_WILDCARD_MX option from conf.h.  This option gets many sites
  645. into trouble for a minor performance gain.
  646.  
  647. Changed getmxrr() to use $=w (class of local names) instead of $j
  648. (the Fully Qualified Domain Name (FQDN) of the localhost).  Changed
  649. getcanonname() to use $=j (class of names to treat as local) as well as
  650. $j.  From suggestions from Paul Vixie of DEC and Neil Rickert of NIU.
  651. @
  652. text
  653. @a1 8
  654. # Revision 1.4.3.2  1991/03/19  01:55:27  paul
  655. # logdelivery() now records mailer in syslog entries.
  656. #
  657. # readcf() now expands macros in 'C' class definitions.
  658. #
  659. # LOGSPLIT reduced to 128 on HP-UX systems.
  660. # help() now uses newstr()/free() to avoid problems with constant strings.
  661. #
  662. @
  663.  
  664.  
  665. 1.4.3.4
  666. log
  667. @Removed UserEnviron[] from sendmail.h and made it a local variable in
  668. main.c.  Used only when a thaw() fails or isn't done when
  669. #if defined(SETPROCTITLE) && !defined(SYSV).  openmailer() in deliver.c
  670. now uses environ instead of UserEnviron as main() will make sure it's
  671. valid.
  672. @
  673. text
  674. @a1 9
  675. # Revision 1.4.3.3  1991/03/25  16:40:41  paul
  676. # Removed NO_WILDCARD_MX option from conf.h.  This option gets many sites
  677. # into trouble for a minor performance gain.
  678. #
  679. # Changed getmxrr() to use $=w (class of local names) instead of $j
  680. # (the Fully Qualified Domain Name (FQDN) of the localhost).  Changed
  681. # getcanonname() to use $=j (class of names to treat as local) instead
  682. # $j.
  683. #
  684. d74 135
  685. @
  686.  
  687.  
  688. 1.4.3.5
  689. log
  690. @Some source files included <signal.h> instead of <sys/signal.h>.  This
  691. makes a difference on some machines.
  692.  
  693. Now uses <stdarg.h> instead of <varargs.h> when both __STDC__ && VSPRINTF
  694. are true.
  695.  
  696. In main.c, the envirionment is now copied after a successful thaw() and/or
  697. if SETPROCTITLE is true.
  698. @
  699. text
  700. @a1 7
  701. # Revision 1.4.3.4  1991/03/26  18:37:31  paul
  702. # Removed UserEnviron[] from sendmail.h and made it a local variable in
  703. # main.c.  Used only when a thaw() fails or isn't done when
  704. # #if defined(SETPROCTITLE) && !defined(SYSV).  openmailer() in deliver.c
  705. # now uses environ instead of UserEnviron as main() will make sure it's
  706. # valid.
  707. #
  708. @
  709.  
  710.  
  711. 1.4.3.6
  712. log
  713. @Added load averaging code for AIX contributed by Charlie Kline of CSO.
  714. @
  715. text
  716. @a1 10
  717. # Revision 1.4.3.5  1991/04/02  23:28:57  paul
  718. # Some source files included <signal.h> instead of <sys/signal.h>.  This
  719. # makes a difference on some machines.
  720. #
  721. # Now uses <stdarg.h> instead of <varargs.h> when both __STDC__ && VSPRINTF
  722. # are true.
  723. #
  724. # In main.c, the envirionment is now copied after a successful thaw() and/or
  725. # if SETPROCTITLE is true.
  726. #
  727. @
  728.  
  729.  
  730. 1.4.3.7
  731. log
  732. @Modified queue.c and main.c:
  733. Added new relatives of -q command line flag:  -Sfoo runs only those
  734. queued messages with "foo" in the sender string, -Rfoo runs only those
  735. that have foo in the recipient string, and -MAA07305 runs only the
  736. message with the ID AA07305.  From patches adapted from Peter J Nilsson
  737. (pjn@@ida.liu.se).
  738. @
  739. text
  740. @a1 3
  741. # Revision 1.4.3.6  1991/04/02  23:33:07  paul
  742. # Added load averaging code for AIX contributed by Charlie Kline of CSO.
  743. #
  744. @
  745.  
  746.  
  747. 1.4.3.8
  748. log
  749. @src/{Makefile,conf.h} modified to lift the restriction against frozen
  750. config files (sendmail.fc) under AIX.  Inspiration came from Paul
  751. Amaranth's (amaranth@@vela.acs.oakland.edu) posting in comp.unix.aix
  752. about linker tricks.
  753. @
  754. text
  755. @a1 8
  756. # Revision 1.4.3.7  1991/04/11  15:18:54  paul
  757. # Modified queue.c and main.c:
  758. # Added new relatives of -q command line flag:  -Sfoo runs only those
  759. # queued messages with "foo" in the sender string, -Rfoo runs only those
  760. # that have foo in the recipient string, and -MAA07305 runs only the
  761. # message with the ID AA07305.  From patches adapted from Peter J Nilsson
  762. # (pjn@@ida.liu.se).
  763. #
  764. @
  765.  
  766.  
  767. 1.4.2.1
  768. log
  769. @Sub-baseline
  770. @
  771. text
  772. @d1 1
  773. a1 4
  774. $Log:    ChangeLog,v $
  775. # Revision 1.4  90/12/13  14:37:18  paul
  776. # Baseline
  777. @
  778.  
  779.  
  780. 1.4.2.2
  781. log
  782. @Reset NIS state before freeze() or thaw() of config file (main.c).
  783. Fix S14 to re-write Decnet addresses in host2::host1::user format
  784. (Sendmail.mc).
  785. @
  786. text
  787. @a1 3
  788. # Revision 1.4.2.1  90/12/13  14:38:15  paul
  789. # Sub-baseline
  790. @
  791.  
  792.  
  793. 1.4.2.3
  794. log
  795. @File: main.c
  796. Only reset the environment after a successful thaw.  Previously the
  797. environment was always reset which used a lot of newstr() calls and
  798. inflated the size of sendmail.fc.  Found by Piet Beertema (piet@@mcsun.eu.net).
  799.  
  800. File: readcf.c
  801. Streamlined the reading of class members from files & pipes.  Files may
  802. use the sscanf() convention now w.o. #define'ing SCANF.  From a suggestion
  803. from Piet Beertema (piet@@mcsun.eu.net).
  804. @
  805. text
  806. @a1 5
  807. # Revision 1.4.2.2  90/12/18  13:07:47  paul
  808. # Reset NIS state before freeze() or thaw() of config file (main.c).
  809. # Fix S14 to re-write Decnet addresses in host2::host1::user format
  810. # (Sendmail.mc).
  811. @
  812.  
  813.  
  814. 1.4.2.4
  815. log
  816. @Updated logdelivery() with version that folds, rather than truncating,
  817. long syslog() entries.  Updated ida/lib with current UIUC files, added
  818. documentation to mailertable file.
  819. @
  820. text
  821. @a1 11
  822. # Revision 1.4.2.3  90/12/24  07:01:09  paul
  823. # File: main.c
  824. # Only reset the environment after a successful thaw.  Previously the
  825. # environment was always reset which used a lot of newstr() calls and
  826. # inflated the size of sendmail.fc.  Found by Piet Beertema (piet@@mcsun.eu.net).
  827. # File: readcf.c
  828. # Streamlined the reading of class members from files & pipes.  Files may
  829. # use the sscanf() convention now w.o. #define'ing SCANF.  From a suggestion
  830. # from Piet Beertema (piet@@mcsun.eu.net).
  831. @
  832.  
  833.  
  834. 1.4.2.5
  835. log
  836. @Added fsync() calls to queue.c and collect.c to flush the collected
  837. df* and qf* files to disk once they are complete.
  838.  
  839. Added changes to uiuc/phquery.c to cope with the changed location of
  840. sendmail under 4.4 BSD (/usr/sbin/sendmail) to handle a backup QI
  841. server (QI_ALT in uiuc/Makefile).
  842. @
  843. text
  844. @a1 5
  845. # Revision 1.4.2.4  91/01/02  19:49:53  paul
  846. # Updated logdelivery() with version that folds, rather than truncating,
  847. # long syslog() entries.  Updated ida/lib with current UIUC files, added
  848. # documentation to mailertable file.
  849. @
  850.  
  851.  
  852. 1.4.2.6
  853. log
  854. @queue.c and collect.c now have fsync() calls prior to the fclose() of the
  855. df* and cf* files.  This for added robustness on flaky systems (such as
  856. uxc after the reno upgrade).  Check added to headers.c to delete the From:
  857. line only when the sender is local.
  858. @
  859. text
  860. @d1 1
  861. a1 9
  862. $Log: ChangeLog,v $
  863. # Revision 1.4.2.5  1991/01/26  21:11:15  paul
  864. # Added fsync() calls to queue.c and collect.c to flush the collected
  865. # df* and qf* files to disk once they are complete.
  866. #
  867. # Added changes to uiuc/phquery.c to cope with the changed location of
  868. # sendmail under 4.4 BSD (/usr/sbin/sendmail) to handle a backup QI
  869. # server (QI_ALT in uiuc/Makefile).
  870. #
  871. @
  872.  
  873.  
  874. 1.4.2.7
  875. log
  876. @deliver.c: Fixed setupshares() function declarator.  Fixed test of j
  877. that controls whether message about contacting non-primary MX host
  878. is printed.
  879.  
  880. recipient.c, alias.c: POSIX bulletproofing.
  881.  
  882. main.c: fixed determination of end of envp array when frozen config
  883. file isn't used.
  884.  
  885. err.c: cast some more functions w.o. return values to void.
  886. @
  887. text
  888. @a1 6
  889. # Revision 1.4.2.6  1991/02/01  05:05:27  paul
  890. # queue.c and collect.c now have fsync() calls prior to the fclose() of the
  891. # df* and cf* files.  This for added robustness on flaky systems (such as
  892. # uxc after the reno upgrade).  Check added to headers.c to delete the From:
  893. # line only when the sender is local.
  894. #
  895. @
  896.  
  897.  
  898. 1.4.2.8
  899. log
  900. @All external function definitions moved to a new file def.h.  For ANSI
  901. C compilers, function prototypes are included.
  902.  
  903. Encore getloadavg() routine rolled into getloadavg.c.
  904.  
  905. Paul Vixie's long header line fix included.
  906. @
  907. text
  908. @a1 12
  909. # Revision 1.4.2.7  1991/02/15  20:28:21  paul
  910. # deliver.c: Fixed setupshares() function declarator.  Fixed test of j
  911. # that controls whether message about contacting non-primary MX host
  912. # is printed.
  913. #
  914. # recipient.c, alias.c: POSIX bulletproofing.
  915. #
  916. # main.c: fixed determination of end of envp array when frozen config
  917. # file isn't used.
  918. #
  919. # err.c: cast some more functions w.o. return values to void.
  920. #
  921. @
  922.